package com.mimosa.util.config.ini;


class Comment implements Line {

	private String comment;
	private char delimiter;

	private static final char DEFAULT_DELIMITER = '#';

	public Comment(String comment) {
		this(comment, DEFAULT_DELIMITER);
	}

	public Comment(String comment, char delimiter) {
		this.comment = comment.trim();
		this.delimiter = delimiter;
	}

	public String toString() {
		return this.delimiter + " " + this.comment;
	}
}